body{
  background-color: #eeeeee;
}
/* header Start */
.header-main{
  width: 1024px;
  margin: 20px auto;
  display: flex;
}
.logo{
  flex: 40%;
}
.header-right{
  flex: 60%;
}
.header-link p{
  color: #ec1b23;
  font-size: 12px;
}
.header-link a{
  color: #ec1b23;
  padding: 0 5px;
}
.search{
  width: 176px;
  height: 29px;
  font-size: 12px;
  font-family: "宋体";
  overflow: hidden;
}
.search input{
  width: 120px;
  height: 25px;
  background-color: #fff;
  outline: none;
  border: none;
  float: left;
  border: 1px #d0d0d0 solid;
}
.search span{
  display: block;
  width: 50px;
  height: 29px;
  background-color: #9d3328;
  float: left;
  color: #fff;
  line-height: 27px;
  text-align: center;
}
.header-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
/* header End */

/* nav Start */
.nav{
  width: 100%;
  height: 100px;
  background-color: #e70515;
  border-bottom: 8px #ed1d24 solid;
}
.nav-main{
  width: 1024px;
  margin: 0 auto;
  list-style: none;
  /* overflow: hidden; */
}
.nav-main li{
  width: 113px;
  height: 100px;
  float: left;
  position: relative;
}
.nav-main li a{
  display: block;
  height: 70px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding-top: 30px;
  background: url(./img/nav-line.png) no-repeat right top;
}
.nav-main li a span{
  display: block;
  line-height: 16px;
  font: normal 12px "Microsoft YaHei","宋体";
}
/* 默认首页的背景 */
.nav-main li:first-child .active{
  background: url(./img/nav.png);
}
.on{
 background: url(./img/nav.png) !important;
}

/* 二级导航 */
/* .li-item{
  position: relative;
} */
.nav-sec{
  position: absolute;
  top: 100px;
  left: 0;
  padding: 0;
  background-color: #ed1d24;
  display: none;
}
.nav-sec li{
  width: 100%;
  height: 36px;
  list-style: none;
}
.nav-sec li:hover{
  background-color: #d90616;
}
.nav-sec li a{
  font: normal 14px "Microsoft YaHei","宋体";
  padding-top: 8px;
  background:none
}
